package com.socket;

import java.io.IOException;
import java.net.ServerSocket;

/**
 * @author Jack
 * @description: TODO
 * @date 2021/8/26 13:16
 */
public class SocketDemo {

    public static void main(String[] args) {


        try {
            ServerSocket serverSocket = new ServerSocket();
            serverSocket.accept();
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
